package com.gzx.plugin.fin.tech.controller;

import com.gzx.plugin.fin.tech.service.GzxBlackListService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author zjt
 * @description
 * @date 2025/5/20 10:31
 */
@RestController
@RequestMapping("/api/black")
@RequiredArgsConstructor
public class GzxBlackController {


    private final GzxBlackListService blackListService;

    @PostMapping("/verify")
    public String getScore(@RequestBody List<String> phoneList) {
        return blackListService.verifyBlack(phoneList);
    }
}
